XInternAtom

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
  1. Atom function(Display* display, const(char)* atom_name, Bool only_if_exists) XInternAtom;
  2. Atom XInternAtom(Display* display, const(char)* atom_name, Bool only_if_exists)
    version(X11 && !SharedX11)
    extern (C) nothrow @nogc __gshared extern
    XInternAtom

Meta